names = ['Michael', 'Bob', 'Tracy']
for i in names:
    print(i)
sum1 = 0
for x in [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]:
    sum1 = sum1+x
print(sum1)
print(list(range(10)))
sum2 = 0
for i in range(1, 101):
    sum2 = sum2+i
print(sum2)
sum3 = 0
n = 99
while n > 0:
    sum3 = sum3 + n
    n = n - 2
print(sum3)
L = ['Bart', 'Lisa', 'Adam']
for name in L:
    print('hello,', name)
n = 1
while n <= 100:
    print(n)
    n = n + 1
print('END')
dict2 = {'michael':22, 'bob':25, 'zhangsan':88}
print(dict2['bob'])
print('hehe' in dict2)
print(dict2.get('zhangsan'))
dict2.pop('zhangsan')
print(dict2)